package wsepForum.test.acceptance.story;

public class CreateTopicStory extends StoryBase {

	public CreateTopicStory() {
		super("create topic story");
	}

	public void testStoryCreateTopic() {
		assertTrue("was expected get a positive answer for this attempt", bridge.actionTryToCreateTopic("topic1", "body1", true));
		assertTrue("was expected get a positive answer for this attempt", bridge.actionTryToCreateTopic("topic2","body2", true));
		assertTrue("was expected get a positive answer for this attempt", bridge.actionTryToCreateTopic("","body3", true));
		assertFalse("was expected get a negative answer for this attempt", bridge.actionTryToCreateTopic("topic4","body4", false));
		assertFalse("was expected get a negative answer for this attempt",  bridge.actionTryToCreateTopic("","body5", false));
	}


}
